package it.unicam.cs.cosy.bioshape.core.behaviours;

/**
 * This exception is thrown from the PafasParser class.
 * 
 * @author Buti Federico, Callisto De Donato Massimo
 */
@SuppressWarnings("serial")
public class BehaviourException extends Exception {

	/** Message describing the encountered problem. */
	String message;

	/**
	 * Builds a new PafasParserException starting from the description message
	 * passed.
	 * 
	 * @param msg
	 *            error message
	 */
	public BehaviourException(String msg) {
		this.message = msg;
	}

	@Override
	public String getMessage() {
		return this.message;
	}

}
